/*
 * Copyright © 2018 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
*/

@import '../../../../styles/variables.scss';

$dropdown-toggle-border-bottom-color: $grey-01;
$dropdown-bg-color: $grey-08;

.legends-and-selector {
  padding: 10px 50px 25px 100px;
  display: flex;
  align-items: center;

  .reports-view-by-selector {
    .view-by-selector-dropdown {
      display: inline-block;
      width: 150px;
      margin-left: 10px;
      border-bottom: 1px solid $dropdown-toggle-border-bottom-color;

      .form-control {
        border: 0;
        height: initial;
        box-shadow: none;
        cursor: pointer;
        background-color: $dropdown-bg-color;
        padding: 0;
      }
    }
  }

  .legends-by-option {
    margin-left: 40px;

    .icon-svg {
      font-size: 18px;
      margin-right: 5px;
    }

    .legend {
      display: inline-block;

      span { vertical-align: middle; }

      &:not(:last-child) {
        margin-right: 30px;
      }
    }

    .start-method-legends {
      .legend:first-child {
        margin-right: 50px;
      }
    }
  }

  .delay-legend {
    margin-left: auto;
    display: flex;
    align-items: flex-start;

    > span {
      width: 150px;
    }
  }
}
